package com.open.api.peekapi.dao;

import com.open.api.peekapi.bean.ApiItem;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by mengdexuan on 2017/6/20 18:26.
 */
public interface ApiItemDao extends JpaRepository<ApiItem,String> {

	public List<ApiItem> findByParentIdAndShowFlagOrderByCreateTime(String parentId,Integer showFlag);
	public List<ApiItem> findByParentIdOrderByCreateTime(String parentId);
}
